<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: common/include/pcl/common/norms.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('norms_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">norms.h 文件参考<div class="ingroups"><a class="el" href="group__common.html">Common components</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;pcl/common/impl/norms.hpp&gt;</code><br />
</div>
<p><a href="norms_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:ga9d37f00989a9de11b48deb263649463c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__common.html#ga9d37f00989a9de11b48deb263649463c">pcl::NormType</a> { <br />
&#160;&#160;<b>L1</b>
, <b>L2_SQR</b>
, <b>L2</b>
, <b>LINF</b>
, <br />
&#160;&#160;<b>JM</b>
, <b>B</b>
, <b>SUBLINEAR</b>
, <b>CS</b>
, <br />
&#160;&#160;<b>DIV</b>
, <b>PF</b>
, <b>K</b>
, <b>KL</b>
, <br />
&#160;&#160;<b>HIK</b>
<br />
 }</td></tr>
<tr class="memdesc:ga9d37f00989a9de11b48deb263649463c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enum that defines all the types of norms available.  <a href="group__common.html#ga9d37f00989a9de11b48deb263649463c">更多...</a><br /></td></tr>
<tr class="separator:ga9d37f00989a9de11b48deb263649463c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga047d812778a099ab333c847342c4b6bf"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga047d812778a099ab333c847342c4b6bf"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga047d812778a099ab333c847342c4b6bf">pcl::selectNorm</a> (FloatVectorT A, FloatVectorT B, int dim, NormType norm_type)</td></tr>
<tr class="memdesc:ga047d812778a099ab333c847342c4b6bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method that calculates any norm type available, based on the norm_type variable  <a href="group__common.html#ga047d812778a099ab333c847342c4b6bf">更多...</a><br /></td></tr>
<tr class="separator:ga047d812778a099ab333c847342c4b6bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga61d1e988b461de40a26b4e4e9e93ce55"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga61d1e988b461de40a26b4e4e9e93ce55"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga61d1e988b461de40a26b4e4e9e93ce55">pcl::L1_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:ga61d1e988b461de40a26b4e4e9e93ce55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the L1 norm of the vector between two points  <a href="group__common.html#ga61d1e988b461de40a26b4e4e9e93ce55">更多...</a><br /></td></tr>
<tr class="separator:ga61d1e988b461de40a26b4e4e9e93ce55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf034c4bca3fc85c1e6d27d893c2936a5"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:gaf034c4bca3fc85c1e6d27d893c2936a5"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gaf034c4bca3fc85c1e6d27d893c2936a5">pcl::L2_Norm_SQR</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:gaf034c4bca3fc85c1e6d27d893c2936a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the squared L2 norm of the vector between two points  <a href="group__common.html#gaf034c4bca3fc85c1e6d27d893c2936a5">更多...</a><br /></td></tr>
<tr class="separator:gaf034c4bca3fc85c1e6d27d893c2936a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70456fbb6c67cf3c1229e19c831b30ac"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga70456fbb6c67cf3c1229e19c831b30ac"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga70456fbb6c67cf3c1229e19c831b30ac">pcl::L2_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:ga70456fbb6c67cf3c1229e19c831b30ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the L2 norm of the vector between two points  <a href="group__common.html#ga70456fbb6c67cf3c1229e19c831b30ac">更多...</a><br /></td></tr>
<tr class="separator:ga70456fbb6c67cf3c1229e19c831b30ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63fded8c9593744836d761940cab9350"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga63fded8c9593744836d761940cab9350"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga63fded8c9593744836d761940cab9350">pcl::Linf_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:ga63fded8c9593744836d761940cab9350"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the L-infinity norm of the vector between two points  <a href="group__common.html#ga63fded8c9593744836d761940cab9350">更多...</a><br /></td></tr>
<tr class="separator:ga63fded8c9593744836d761940cab9350"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga45baeaeb21308cd128a7c44ab786552c"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga45baeaeb21308cd128a7c44ab786552c"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga45baeaeb21308cd128a7c44ab786552c">pcl::JM_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:ga45baeaeb21308cd128a7c44ab786552c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the JM norm of the vector between two points  <a href="group__common.html#ga45baeaeb21308cd128a7c44ab786552c">更多...</a><br /></td></tr>
<tr class="separator:ga45baeaeb21308cd128a7c44ab786552c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0eb2818b6fa817f3ada41296793283a1"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga0eb2818b6fa817f3ada41296793283a1"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga0eb2818b6fa817f3ada41296793283a1">pcl::B_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:ga0eb2818b6fa817f3ada41296793283a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the B norm of the vector between two points  <a href="group__common.html#ga0eb2818b6fa817f3ada41296793283a1">更多...</a><br /></td></tr>
<tr class="separator:ga0eb2818b6fa817f3ada41296793283a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac986c55a5b8850fec89cd26c46303747"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:gac986c55a5b8850fec89cd26c46303747"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gac986c55a5b8850fec89cd26c46303747">pcl::Sublinear_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:gac986c55a5b8850fec89cd26c46303747"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the sublinear norm of the vector between two points  <a href="group__common.html#gac986c55a5b8850fec89cd26c46303747">更多...</a><br /></td></tr>
<tr class="separator:gac986c55a5b8850fec89cd26c46303747"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e43f6ae7f0607bfdedaea512c510ff8"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga7e43f6ae7f0607bfdedaea512c510ff8"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga7e43f6ae7f0607bfdedaea512c510ff8">pcl::CS_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:ga7e43f6ae7f0607bfdedaea512c510ff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the CS norm of the vector between two points  <a href="group__common.html#ga7e43f6ae7f0607bfdedaea512c510ff8">更多...</a><br /></td></tr>
<tr class="separator:ga7e43f6ae7f0607bfdedaea512c510ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8b5c722d30c22652327a1481528224e"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:gae8b5c722d30c22652327a1481528224e"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gae8b5c722d30c22652327a1481528224e">pcl::Div_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:gae8b5c722d30c22652327a1481528224e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the div norm of the vector between two points  <a href="group__common.html#gae8b5c722d30c22652327a1481528224e">更多...</a><br /></td></tr>
<tr class="separator:gae8b5c722d30c22652327a1481528224e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf977fbc818d41de61285d1da0521991a"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:gaf977fbc818d41de61285d1da0521991a"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#gaf977fbc818d41de61285d1da0521991a">pcl::PF_Norm</a> (FloatVectorT A, FloatVectorT B, int dim, float P1, float P2)</td></tr>
<tr class="memdesc:gaf977fbc818d41de61285d1da0521991a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the PF norm of the vector between two points  <a href="group__common.html#gaf977fbc818d41de61285d1da0521991a">更多...</a><br /></td></tr>
<tr class="separator:gaf977fbc818d41de61285d1da0521991a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4df86a6dafef9778fb8df865ad54e28f"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga4df86a6dafef9778fb8df865ad54e28f"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga4df86a6dafef9778fb8df865ad54e28f">pcl::K_Norm</a> (FloatVectorT A, FloatVectorT B, int dim, float P1, float P2)</td></tr>
<tr class="memdesc:ga4df86a6dafef9778fb8df865ad54e28f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the K norm of the vector between two points  <a href="group__common.html#ga4df86a6dafef9778fb8df865ad54e28f">更多...</a><br /></td></tr>
<tr class="separator:ga4df86a6dafef9778fb8df865ad54e28f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga186a26b9face0cfb0fea3d6eb37f909b"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga186a26b9face0cfb0fea3d6eb37f909b"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga186a26b9face0cfb0fea3d6eb37f909b">pcl::KL_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:ga186a26b9face0cfb0fea3d6eb37f909b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the KL between two discrete probability density functions  <a href="group__common.html#ga186a26b9face0cfb0fea3d6eb37f909b">更多...</a><br /></td></tr>
<tr class="separator:ga186a26b9face0cfb0fea3d6eb37f909b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga86297c76ef1756ff1db90d8e39c14fa3"><td class="memTemplParams" colspan="2">template&lt;typename FloatVectorT &gt; </td></tr>
<tr class="memitem:ga86297c76ef1756ff1db90d8e39c14fa3"><td class="memTemplItemLeft" align="right" valign="top">float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__common.html#ga86297c76ef1756ff1db90d8e39c14fa3">pcl::HIK_Norm</a> (FloatVectorT A, FloatVectorT B, int dim)</td></tr>
<tr class="memdesc:ga86297c76ef1756ff1db90d8e39c14fa3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the HIK norm of the vector between two points  <a href="group__common.html#ga86297c76ef1756ff1db90d8e39c14fa3">更多...</a><br /></td></tr>
<tr class="separator:ga86297c76ef1756ff1db90d8e39c14fa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Define standard C methods to calculate different norms </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_11fbc4217d50ab21044e5ad6614aede5.html">include</a></li><li class="navelem"><a class="el" href="dir_39ef148c3cf3468c290ae8c03b3c03af.html">pcl</a></li><li class="navelem"><a class="el" href="dir_474708a720ff06817ce2c12e28baf137.html">common</a></li><li class="navelem"><a class="el" href="norms_8h.html">norms.h</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
